package cn.qiyu5522.tk_ems.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author Tonkey
 * @since 2023-02-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_resume")
@ApiModel(value="Resume对象", description="")
public class Resume implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "简历id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "学生ID")
    @TableField("student_id")
    private Long studentId;

    @ApiModelProperty(value = "姓名")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "性别：0-女，1-男")
    @TableField("sex")
    private Integer sex;

    @ApiModelProperty(value = "期望工作城市")
    @TableField("expected_city")
    private String expectedCity;

    @ApiModelProperty(value = "期望工作城市编号")
    @TableField("expected_city_id")
    private String expectedCityId;

    @ApiModelProperty(value = "期望职位类别编号")
    @TableField("expected_position_category")
    private Integer expectedPositionCategory;

    @ApiModelProperty(value = "期望职位")
    @TableField("expected_position")
    private Integer expectedPosition;

    @ApiModelProperty(value = "期望职位类别名称")
    @TableField("expected_position_category_name")
    private String expectedPositionCategoryName;

    @ApiModelProperty(value = "期望职位名称")
    @TableField("expected_position_name")
    private String expectedPositionName;

    @ApiModelProperty(value = "期望薪资")
    @TableField("expected_salary")
    private Integer expectedSalary;

    @ApiModelProperty(value = "生日")
    @TableField("birthday")
    private LocalDate birthday;

    @ApiModelProperty(value = "证书")
    @TableField("certificate")
    private String certificate;

    @ApiModelProperty(value = "技能")
    @TableField("skill")
    private String skill;

    @ApiModelProperty(value = "手机号码")
    @TableField("mobile")
    private String mobile;

    @ApiModelProperty(value = "邮箱")
    @TableField("email")
    private String email;

    @ApiModelProperty(value = "学历：小学，初中，高中，中专，大专，本科，硕士，7-博士")
    @TableField("education")
    private Integer education;

    @ApiModelProperty(value = "学校")
    @TableField("school")
    private String school;

    @ApiModelProperty(value = "专业")
    @TableField("major")
    private Long major;

    @ApiModelProperty(value = "毕业时间")
    @TableField("graduation_time")
    private LocalDate graduationTime;

    @ApiModelProperty(value = "实习经验")
    @TableField("internship_experience")
    private String internshipExperience;

    @ApiModelProperty(value = "项目经验")
    @TableField("project_experience")
    private String projectExperience;

    @ApiModelProperty(value = "工作经历")
    @TableField("experience")
    private String experience;

    @ApiModelProperty(value = "自我评价")
    @TableField("self_evaluation")
    private String selfEvaluation;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;


    public interface Update {
    }

    public interface Insert {
    }
}
